﻿@if (Request.IsAuthenticated)
{
    <text>
    <li>
        @Html.ActionLink("Delete Current User (Method 1)", "DeleteYourselfWithMembership", "Account")
    </li>
    <li>
        @Html.ActionLink("Delete Current User (Method 2)", "DeleteYourselfWithService", "Account")
    </li>
    <li>
        |
    </li>
    <li>@Html.ActionLink(User.Identity.Name, "Manage", "Account", routeValues: null, htmlAttributes: new { @class = "username", title = "Manage" })!
    </li>
    
    <li>
            <a href="/Account/LogOff">Log off</a>
    </li>
    </text>
}
else
{
    <li>@Html.ActionLink("Register", "Register", "Account", routeValues: null, htmlAttributes: new { id = "registerLink" })</li>
    <li>@Html.ActionLink("Log in", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })</li>
}
